home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
m
/
multiicons.dms
/
multiicons.adf
/
C
/
shovecolors.doc
< prev
next >
Wrap
Text File
|
1995-03-27
|
2KB
|
56 lines
A quick note about ShoveColors (updated March 27, 1995)
This was a quick and dirty program I threw together. It will read in an
IFF file containing a CMAP chunk, and then set the default public
screen's RGB values.
FILE Specifies the IFF to get the palette from, duh.
QUIET Surpresses all output, so no window is opened.
FORCE Overrides other program's locks. Be careful on the Workbench
screen!
LOCKALL Locks all pens, regardless of the LOCK hunk. Useful for
non-Iconian palette files!
Also, if present is a "LOCK" hunk (a custom hunk saved from
Iconian (versions 1.90-1.98b), then any pens that were saved
as locked will attempted to be locked.
NOTIFY This places 'shovecolors' in a loop, waiting for Workbench to
close and re-open it's screen. Since shovecolors does not
split from the current CLI process, you MUST use "run >NIL:
<NIL: shovecolors" in order to place in scripts. You can
stop shovecolors by sending it a BREAK signal (CTRL-C). This
is easily done if you forgot and left it run in a CLI window.
If you used "RUN <NIL: >NIL: shovecolors", you must use a
utility like XOper or Scout. Someday, shovecolors might
become a commodity, so all this will be moot...
SIGNALWBVERLAUF Seems WBVerlauf doesn't always notice a screen mode
change, and therefore doesn't rebuild it's
copperlist. I attempt to signal WBVerlauf when a
change is made, but only if the NOTIFY switch is
present. This is a hack?? so only specify this
switch if you are brave.
What's the POINT?
Well, you could edit a custom palette for a 3.0 workbench screen. Just
specify pens 0-3 as normal 2.0 colors, 4-7 as MagicWB colors and LOCKED.
Then save the palette. Then, call ShoveColors everytime the Workbench
screen is changed or opened (or from shell-startup!). This way, you can
save all your icons with 3 planes (strip planes in Iconian), to save
disk space!!! No need to save all 8 planes to get correct looking
icons!!! (btw, this is how MagicWB 2.0 saves it's icons now...)
No guarantees are made for this program. Use at your own risk. Check
the source, maybe you could fix any bugs you find?
Have fun.
C.Randall